# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https:# docs.scrapy.org/en/latest/topics/items.html

import scrapy


class DDItem(scrapy.Item):
    DDid = scrapy.Field()  # 当当product id
    ISBN = scrapy.Field()  # 书的ISBNid
    name = scrapy.Field()  # 书名
    author = scrapy.Field()  # 作者
    press = scrapy.Field()  # 出版社
    publishingTime = scrapy.Field()  # 出版时间
    typeName = scrapy.Field()  # 类目名称
    typeRank = scrapy.Field()  # 类目排名
    commentNumber = scrapy.Field()  # 评论数
    price = scrapy.Field()  # 定价
    selling = scrapy.Field()  # 卖价
    shipper = scrapy.Field()  # 发货商
    openBook = scrapy.Field()  # 开本
    page = scrapy.Field()  # 纸张
    pcking = scrapy.Field()  # 包装
    isSuit = scrapy.Field()  # 是否套装
    classification = scrapy.Field()  # 所属分类
    pic1 = scrapy.Field()  # 主图1
    pic2 = scrapy.Field()  # 附图1
    remd1 = scrapy.Field()  # 编辑推荐1
    remd2 = scrapy.Field()  # 编辑推荐2
    content1 = scrapy.Field()  # 内容简介1
    content2 = scrapy.Field()  # 内容简介2
    link = scrapy.Field()  # 当前网址
    categoryPath = scrapy.Field()  # 当当一个产品的api 请求，需要参数 DDid +  categoryPath  shopId   describeMap
    shopId = scrapy.Field()  # 当当一个产品的api 请求，需要参数 DDid +  categoryPath  shopId   describeMap
    describeMap = scrapy.Field()  # 当当一个产品的api 请求，需要参数 DDid +  categoryPath  shopId  describeMap

